﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterAchievementsCategorySchema

    Public Class criteria

        Private strDate As String
        Private intID As Integer
        Private intMaxQuantity As Integer
        Private intMaxQuantityGold As Integer
        Private strName As String
        Private intQuantity As Integer
        Private intQuantityCopper As Integer
        Private intQuantityGold As Integer
        Private intQuantitySilver As Integer

        <XmlAttribute()> Public Property [date]() As String
            Get
                Return strDate
            End Get
            Set(ByVal value As String)
                strDate = value
            End Set
        End Property

        <XmlAttribute()> Public Property id() As Integer
            Get
                Return intID
            End Get
            Set(ByVal value As Integer)
                intID = value
            End Set
        End Property

        <XmlAttribute()> Public Property maxQuantity() As Integer
            Get
                Return intMaxQuantity
            End Get
            Set(ByVal value As Integer)
                intMaxQuantity = value
            End Set
        End Property

        <XmlAttribute()> Public Property maxQuantityGold() As Integer
            Get
                Return intMaxQuantityGold
            End Get
            Set(ByVal value As Integer)
                intMaxQuantityGold = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property quantity() As Integer
            Get
                Return intQuantity
            End Get
            Set(ByVal value As Integer)
                intQuantity = value
            End Set
        End Property

        <XmlAttribute()> Public Property quantityCopper() As Integer
            Get
                Return intQuantityCopper
            End Get
            Set(ByVal value As Integer)
                intQuantityCopper = value
            End Set
        End Property

        <XmlAttribute()> Public Property quantityGold() As Integer
            Get
                Return intQuantityGold
            End Get
            Set(ByVal value As Integer)
                intQuantityGold = value
            End Set
        End Property

        <XmlAttribute()> Public Property quantitySilver() As Integer
            Get
                Return intQuantitySilver
            End Get
            Set(ByVal value As Integer)
                intQuantitySilver = value
            End Set
        End Property

    End Class

End Namespace